package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Share)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:25:41
 */
@ApiModel(value = "分享记录实体类")
public class Share implements Serializable {
    private static final long serialVersionUID = 492909847304789694L;
    /**
     * 分享记录主键
     */
    @ApiModelProperty(name = "shareId",notes = "分享记录ID",value = "Integer",required = true)
    private Integer shareId;
    /**
     * 用户id（外键）
     */
    @ApiModelProperty(name = "userId",notes = "用户ID（外键）",value = "用户ID（外键）",required = true)
    private Integer userId;
    /**
     * 分享类型
     */
    @ApiModelProperty(name = "shareClass",notes = "分享类型",value = "分享类型",required = false)
    private String shareClass;
    /**
     * 分享状态（1：成功 0：取消）
     */
    @ApiModelProperty(name = "shareStatu",notes = "分享状态（1：成功 0：取消）",value = "分享状态（1：成功 0：取消）",required = false)
    private Integer shareStatu;
    /**
     * 分享时间
     */
    @ApiModelProperty(name = "shareTime",notes = "分享时间",value = "分享时间",required = false)
    private Date shareTime;
    /**
     * 状态（1：正常 0：删除）
     */
    @ApiModelProperty(name = "statu",notes = "状态（1：正常 0：删除）",value = "状态（1：正常 0：删除",required = true)
    private Integer statu;
    /**
     * 分享链接
     */
    @ApiModelProperty(name = "shareLink",notes = "分享链接",value = "分享链接",required = false)
    private String shareLink;


    private Users users;

    public Integer getShareId() {
        return shareId;
    }

    public void setShareId(Integer shareId) {
        this.shareId = shareId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getShareClass() {
        return shareClass;
    }

    public void setShareClass(String shareClass) {
        this.shareClass = shareClass;
    }

    public Integer getShareStatu() {
        return shareStatu;
    }

    public void setShareStatu(Integer shareStatu) {
        this.shareStatu = shareStatu;
    }

    public Date getShareTime() {
        return shareTime;
    }

    public void setShareTime(Date shareTime) {
        this.shareTime = shareTime;
    }

    public Integer getStatu() {
        return statu;
    }

    public void setStatu(Integer statu) {
        this.statu = statu;
    }

    public String getShareLink() {
        return shareLink;
    }

    public void setShareLink(String shareLink) {
        this.shareLink = shareLink;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "Share{" +
                "shareId=" + shareId +
                ", userId=" + userId +
                ", shareClass='" + shareClass + '\'' +
                ", shareStatu=" + shareStatu +
                ", shareTime=" + shareTime +
                ", statu=" + statu +
                ", shareLink='" + shareLink + '\'' +
                ", users=" + users +
                '}';
    }
}